Ext.require(['AM.service.Support', 'AM.service.Thumbnails', 'AM.component.Image']);


Ext.define('AM.service.Start', {


    singleton:true,


    new_2Row:function () {
        var title = Ext.create('AM.component.Text', {width:700, height:100}, {left:'50px', top:'20px'});
        var content = Ext.create('AM.component.Text', {width:600, height:300}, {left: '100px', top: '150px'})
        Ext.create('AM.component.Page', {items:[title, content]});
    },


    new_2Col: function() {
        var title = Ext.create('AM.component.Text', {width:100, height:500}, {left: '80px', top: '50px'});
        var content = Ext.create('AM.component.Text', {width:500, height:500}, {left: '220px', top: '50px'})
        Ext.create('AM.component.Page', {items:[title, content]});
    }
});
